<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
        * {
            padding: 0;
            margin: 0;
        }

        .fa {
            position: relative;
            left: 100px;
            border: 1px solid #f00;
            height: 100px;
        }

        .box {
            position: absolute;
            width: 100px;
            height: 100px;
            border: 1px solid #000;
            background-color: #ffff22;
        }

        .processor1 {
            width:0;
            height: 20px;
            background-color: #f00
        }

        .processor2 {
            width: 0;
            height: 20px;
            background:  #ff0;
        }
    </style>
</head>

<body>
    <button>开始动画</button>
   
    <div class="fa">

        <div class="box"></div>
    </div>

    <div class="processor1"></div>
    <div class="processor2"></div>
    <script src="../js/jquery1.11.3.js"></script>
    <script src="../js/animate.js"></script>
</body>

</html>